cmake_minimum_required(VERSION 2.4)

# Set relativing path ON
set(CMAKE_USE_RELATIVE_PATHS 1)

if(COMMAND cmake_policy)
   cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

set(SRC_LIST main.cpp space_objects.cpp)
set(HDR_LIST space_objects.h)

PROJECT(coldstars)
ADD_DEFINITIONS( -Wall -W -O2 -march=i686 -mtune=i686 -pipe )
 
ADD_EXECUTABLE(coldstars ${SRC_LIST} ${HDR_LIST})
